package blog.controller.vo;


import blog.entity.Comment;
import blog.service.CommentService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

public class CommentPageResult {

    private List<CommentDetailVo> records;

    private long total;

    private long current;

    public CommentPageResult(){
        this.records = null;
        this.total = 0;
        this.current = 1;
    }

    public List<CommentDetailVo> getRecords() {
        return records;
    }

    public long getTotal() {
        return total;
    }

    public long getCurrent() {
        return current;
    }

    public void setRecords(List<CommentDetailVo> records) {
        this.records = records;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public void setCurrent(long current) {
        this.current = current;
    }
}
